package com.example.module_message.http

import com.example.lib_net.BaseResponse
import com.example.module_message.model.MessageEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface MessageApi {
    //"http://10.161.9.80:2209/api/messages?accessId=f2fb416f9fa54e83b16435a90d9e7f0a&userId=1851"
    @GET("/api/messages")
    suspend fun getMessageList(@Query("accessId")accessId:String,@Query("userId")userId:Int): BaseResponse<List<MessageEntity>>

}